When you begin working with Layers, access the Layers List window to handle basic functions like adding or removing a Layer from a report at design time. You may also change the settings for each Layer at design time through a set of in-built properties.
The Layers List window displays a list of Layers in the report along with their visibility and lock options. You can also add or remove Layers and even send the Layer back or bring it to the front in the Layers List.
In the Layers List window,
When ActiveReports is installed on your system, a Layers List button is automatically added to the Visual Studio toolbar and it appears every time you create a new application.
Note:
Once a report is created, a Default Layer is automatically added in the Layers List.
All Layers, except the Default Layer, can be removed.
This removes the selected Layer along with the controls placed on it from the report and the Layers List.
Use the Send to Back or Bring to Front buttons to send a group of controls placed on a selected Layer to the front or to the back of the controls on other layers.
Select a Layer from the Layers List to access the following properties in the property grid.
Property | Value | Description |
---|---|---|
DesignerLock | True/False |
Locks or unlocks controls placed on a Layer. You cannot move or resize the controls placed on the design surface of a locked Layer through a keyboard or a mouse. Other editing functions like cut, copy or paste and addition or deletion of controls are possible. This property can also be set using the check-box for Lock in the Layers List. |
DesignerTransparency | 0 to 1 | Sets the transparency of the controls on a Layer at design time to a value between 0 and 1. A Layer with transparency set to 1 is not visible on the designer. |
DesignerVisible | True/False |
Determines if the controls placed on a Layer are visible on the designer or not. This property can also be set using the check-box for Visibility in the Layers List. |
Name | Layer Name (string) |
Sets the name of a Layer (except the Default Layer). |
TargetDevice | None, Screen, Paper, Export, All |
Specifies or limits the visibility of controls placed on a Layer based on the selected target.
See View, Export or Print Layers for information on TargetDevice specific outputs. |